package Chpter4;

interface Animal7{
	int ID=1;
	void breathe();
	void run();
}
class Dog7 implements Animal7{
	//实现breathe方法
	public void breathe() {
		System.out.println("Dog is breathing.");
	}
	public void run() {
		System.out.println("Dog is running.");
	}
}
public class Example11 {
	public static void main(String[] args) {
		Dog7 dog=new Dog7();
		dog.breathe();
		dog.run();
	}

}
